package cn.northsea.service.impl;

import cn.northsea.entity.SeekDz;
import cn.northsea.mapper.DzMapper;
import cn.northsea.service.DzService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class DzServiceImpl extends ServiceImpl<DzMapper, SeekDz> implements DzService {
    @Autowired
    DzMapper dzMapper;
    @Override
    public List<SeekDz> findByformIdtoid(Integer formid, Integer toid) {
        return dzMapper.findByformIdtoid(formid,toid);
    }

    @Override
    public void save1(SeekDz seekDz) {
        dzMapper.save1(seekDz);
    }

    @Override
    public void save2(SeekDz seekDz) {
        dzMapper.save2(seekDz);
    }
}
